package com.zdb.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("messages")
public class LongMessage {
    @TableId(type = IdType.AUTO)
    private int messageId;
    private int sessionId;
    private String role;
    private String content;
    public String reasonContent;
    private Integer tokens;
    private Date createdAt;
}
